require('page/common/header/index.js')
var _account_service=require('../../../service/account-service.js')

var catalog_main = {
  init : function(){
    this.loadInfo();
    this.bindEvents();
    return this;
  },

  loadInfo:function (param){
    //欢迎语句：
    _account_service.checkLogin(
      function(res){
        if(res.status===0)
        $('#WelcomeContent').text('Welcome '+res.data.username+'!')
      },
      function(errMsg){}
    )

  },

  bindEvents:function(){
    
  },

};

module.exports = catalog_main.init();